package edu.sctu.alex.May.day20150505;

/**
 * Created by user03 on 2015/5/5.
 */
public class Methods {

    public void data(InterfaceTest temp){
        Dogone  dogone=new Dogone();
        dogone.message();
        temp.printMethods(dogone.color, dogone.size, dogone.action);

        DogTwo dogTwo = new DogTwo();
        dogTwo.message();
        temp.printMethods(dogTwo.color,dogTwo.size,dogTwo.action);


        DogThree dogThree =new DogThree();
        dogThree.message();
        temp.printMethods(dogThree.color,dogThree.size,dogThree.action);


    }



}
